#include <STC89C5xRC.H>
#include "delay.h"
#include "timer0.h"
#include "uart.h"

unsigned char sec;

void main()
{
	UartInit();
	while(1)
	{
		
	}

}

void uart_routine()     interrupt 4
{
	if(RI==1)
	{
		P2=SBUF;
		uart_sendbyte(SBUF);
		RI=0;
	}
	
}